import Vue from 'vue'
import Router from 'vue-router'

import Index from '@/pages/home/index'

//  housePayment,

Vue.use(Router)
export default new Router({
    // mode:'history',
    saveScrollPosition: false,
    linkExactActiveClass: 'active',
    scrollBehavior(to, from, savedPosition) {
        return {x: 0, y: 0}
    },
    routes: [
        {
            path: '/',
            name: 'Index',
            components: {
                default: Index
            }
        }

    ],
})
